package myzd.domain.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author zks
 * @since 2017/10/19 18:39
 */
@Data
public class City {
  private int id;
  private String name;
  private String initial; //名字拼音首字母
  private String areaCode; //城市电话区号
  private Integer provinceId;
  private Boolean isCapital; //是否为省会标识
  @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
  private Date createdAt;
  @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
  private Date modifiedAt;
}
